import SubPage from "@/layout/SubPage.vue"

export default {
  path: "health",
  name: "health",
  component: SubPage,
  meta: { title: "健康模块", icon: "dashboard" },
  hidden: true,
  props: true,
  children: [// --- 内容管理 ---
    {
      path: "content",
      name: "content",
      component: SubPage,
      meta: { title: "内容管理", icon: "dashboard" },
      hidden: true,
      props: true,
      children: [// --- 标签管理 ---
        {
          path: "label",
          name: "label",
          component: SubPage,
          meta: { title: "标签管理", icon: "dashboard" },
          hidden: true,
          props: true,
          children: [{
            path: "ContentLabel/:viewMode/:mode",
            name: "ContentLabel",
            component: () => import("@/views/business/page/manager/health/content/label/ContentLabel.vue"),
            meta: { title: "内容标签", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "ContentInfo/:viewMode/:mode",
            name: "ContentInfo",
            component: () => import("@/views/business/page/manager/health/content/label/ContentInfo.vue"),
            meta: { title: "内容信息", icon: "dashboard" },
            hidden: true,
            props: true
          }]
        }, // --- 内容管理 ---
        {
          path: "content",
          name: "subContent",
          component: SubPage,
          meta: { title: "内容管理", icon: "dashboard" },
          hidden: true,
          props: true,
          children: [{
            path: "InfoType/:viewMode/:mode",
            name: "InfoType",
            component: () => import("@/views/business/page/manager/health/content/content/InfoType.vue"),
            meta: { title: "健康资讯类型", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "Info/:viewMode/:mode",
            name: "Info",
            component: () => import("@/views/business/page/manager/health/content/content/Info.vue"),
            meta: { title: "健康资讯", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "ProposalType/:viewMode/:mode",
            name: "ProposalType",
            component: () => import("@/views/business/page/manager/health/content/content/ProposalType.vue"),
            meta: { title: "健康方案类型", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "Proposal/:viewMode/:mode",
            name: "Proposal",
            component: () => import("@/views/business/page/manager/health/content/content/Proposal.vue"),
            meta: { title: "健康方案", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "RecipeType/:viewMode/:mode",
            name: "RecipeType",
            component: () => import("@/views/business/page/manager/health/content/content/RecipeType.vue"),
            meta: { title: "食谱类型", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "Recipe/:viewMode/:mode",
            name: "Recipe",
            component: () => import("@/views/business/page/manager/health/content/content/Recipe.vue"),
            meta: { title: "食谱", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "DrinkType/:viewMode/:mode",
            name: "DrinkType",
            component: () => import("@/views/business/page/manager/health/content/content/DrinkType.vue"),
            meta: { title: "茶饮类型", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "Drink/:viewMode/:mode",
            name: "Drink",
            component: () => import("@/views/business/page/manager/health/content/content/Drink.vue"),
            meta: { title: "茶饮", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "MotionType/:viewMode/:mode",
            name: "MotionType",
            component: () => import("@/views/business/page/manager/health/content/content/MotionType.vue"),
            meta: { title: "运动类型", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "Motion/:viewMode/:mode",
            name: "Motion",
            component: () => import("@/views/business/page/manager/health/content/content/Motion.vue"),
            meta: { title: "运动信息", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "MotionVideo/:viewMode/:mode",
            name: "MotionVideo",
            component: () => import("@/views/business/page/manager/health/content/content/MotionVideo.vue"),
            meta: { title: "运动视频", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "AcupointType/:viewMode/:mode",
            name: "AcupointType",
            component: () => import("@/views/business/page/manager/health/content/content/AcupointType.vue"),
            meta: { title: "穴位类型", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "Acupoint/:viewMode/:mode",
            name: "Acupoint",
            component: () => import("@/views/business/page/manager/health/content/content/Acupoint.vue"),
            meta: { title: "穴位信息", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "AcupointVideo/:viewMode/:mode",
            name: "AcupointVideo",
            component: () => import("@/views/business/page/manager/health/content/content/AcupointVideo.vue"),
            meta: { title: "穴位视频", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "GuidanceType/:viewMode/:mode",
            name: "GuidanceType",
            component: () => import("@/views/business/page/manager/health/content/content/GuidanceType.vue"),
            meta: { title: "用药指导类型", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "Guidance/:viewMode/:mode",
            name: "Guidance",
            component: () => import("@/views/business/page/manager/health/content/content/Guidance.vue"),
            meta: { title: "用药指导", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "TcmType/:viewMode/:mode",
            name: "TcmType",
            component: () => import("@/views/business/page/manager/health/content/content/TcmType.vue"),
            meta: { title: "中药信息类型", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "Tcm/:viewMode/:mode",
            name: "Tcm",
            component: () => import("@/views/business/page/manager/health/content/content/Tcm.vue"),
            meta: { title: "中药信息", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "MusicType/:viewMode/:mode",
            name: "MusicType",
            component: () => import("@/views/business/page/manager/health/content/content/MusicType.vue"),
            meta: { title: "音乐类型", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "Music/:viewMode/:mode",
            name: "Music",
            component: () => import("@/views/business/page/manager/health/content/content/Music.vue"),
            meta: { title: "音乐信息", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "CommodityType/:viewMode/:mode",
            name: "CommodityType",
            component: () => import("@/views/business/page/manager/health/content/content/CommodityType.vue"),
            meta: { title: "商品类型", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "Commodity/:viewMode/:mode",
            name: "Commodity",
            component: () => import("@/views/business/page/manager/health/content/content/Commodity.vue"),
            meta: { title: "商品信息", icon: "dashboard" },
            hidden: true,
            props: true
          }]
        }]
    }, // --- 用户管理 ---
    {
      path: "person",
      name: "person",
      component: SubPage,
      meta: { title: "用户管理", icon: "dashboard" },
      hidden: true,
      props: true,
      children: [// --- 在线咨询 ---
        {
          path: "consultation",
          name: "consultation",
          component: SubPage,
          meta: { title: "在线咨询", icon: "dashboard" },
          hidden: true,
          props: true,
          children: [{
            path: "Appointment/:viewMode/:mode",
            name: "Appointment",
            component: () => import("@/views/business/page/manager/health/person/consultation/Appointment.vue"),
            meta: { title: "预约信息", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "Consultation/:viewMode/:mode",
            name: "Consultation",
            component: () => import("@/views/business/page/manager/health/person/consultation/Consultation.vue"),
            meta: { title: "医患关联", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "Mail/:viewMode/:mode",
            name: "Mail",
            component: () => import("@/views/business/page/manager/health/person/consultation/Mail.vue"),
            meta: { title: "站内消息", icon: "dashboard" },
            hidden: true,
            props: true
          }]
        }, // --- 用户日程 ---
        {
          path: "schedule",
          name: "schedule",
          component: SubPage,
          meta: { title: "用户日程", icon: "dashboard" },
          hidden: true,
          props: true,
          children: [{
            path: "ScheduleType/:viewMode/:mode",
            name: "ScheduleType",
            component: () => import("@/views/business/page/manager/health/person/schedule/ScheduleType.vue"),
            meta: { title: "日程类型", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "Schedule/:viewMode/:mode",
            name: "Schedule",
            component: () => import("@/views/business/page/manager/health/person/schedule/Schedule.vue"),
            meta: { title: "用户日程", icon: "dashboard" },
            hidden: true,
            props: true
          }]
        }, // --- 用户管理 ---
        {
          path: "person",
          name: "subPerson",
          component: SubPage,
          meta: { title: "用户管理", icon: "dashboard" },
          hidden: true,
          props: true,
          children: [{
            path: "UserAuth/:viewMode/:mode",
            name: "UserAuth",
            component: () => import("@/views/business/page/manager/health/person/person/UserAuth.vue"),
            meta: { title: "用户授权", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "UserFav/:viewMode/:mode",
            name: "UserFav",
            component: () => import("@/views/business/page/manager/health/person/person/UserFav.vue"),
            meta: { title: "用户收藏", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "UserFeedback/:viewMode/:mode",
            name: "UserFeedback",
            component: () => import("@/views/business/page/manager/health/person/person/UserFeedback.vue"),
            meta: { title: "用户反馈", icon: "dashboard" },
            hidden: true,
            props: true
          }, {
            path: "UserStore/:viewMode/:mode",
            name: "UserStore",
            component: () => import("@/views/business/page/manager/health/person/person/UserStore.vue"),
            meta: { title: "用户就医门店", icon: "dashboard" },
            hidden: true,
            props: true
          }]
        }]
    }, // --- 诊疗管理 ---
    {
      path: "diagnosis",
      name: "diagnosis",
      component: SubPage,
      meta: { title: "诊疗管理", icon: "dashboard" },
      hidden: true,
      props: true,
      children: [{
        path: "physique",
        name: "physique",
        component: SubPage,
        meta: { title: "体质管理", icon: "dashboard" },
        hidden: true,
        props: true,
        children: [{
          path: "PhyQuestion/:viewMode/:mode",
          name: "PhyQuestion",
          component: () => import("@/views/business/page/manager/health/diagnosis/physique/PhyQuestion.vue"),
          meta: { title: "体质问答题", icon: "dashboard" },
          hidden: true,
          props: true
        }, {
          path: "PhyType/:viewMode/:mode",
          name: "PhyType",
          component: () => import("@/views/business/page/manager/health/diagnosis/physique/PhyType.vue"),
          meta: { title: "体质类型", icon: "dashboard" },
          hidden: true,
          props: true
        }, {
          path: "PickPhyContent/:viewMode/:mode",
          name: "PickPhyContent",
          component: () => import("@/views/business/page/manager/health/diagnosis/physique/PickPhyContent.vue"),
          meta: { title: "体质推荐内容", icon: "dashboard" },
          hidden: true,
          props: true
        }, {
          path: "PhyDiagRecord/:viewMode/:mode",
          name: "PhyDiagRecord",
          component: () => import("@/views/business/page/manager/health/diagnosis/physique/PhyDiagRecord.vue"),
          meta: { title: "体质诊断记录", icon: "dashboard" },
          hidden: true,
          props: true
        }, {
          path: "PhyDiagRecordItem/:viewMode/:mode",
          name: "PhyDiagRecordItem",
          component: () => import("@/views/business/page/manager/health/diagnosis/physique/PhyDiagRecordItem.vue"),
          meta: { title: "体质诊断记录项", icon: "dashboard" },
          hidden: true,
          props: true
        }]
      }, {
        path: "Inspct",
        name: "Inspct",
        component: SubPage,
        meta: { title: "检查项目", icon: "dashboard" },
        hidden: true,
        props: true,
        children: [{
          path: "Inspect/:viewMode/:mode",
          name: "Inspect",
          component: () => import("@/views/business/page/manager/health/diagnosis/inspct/Inspect.vue"),
          meta: { title: "检查项目", icon: "dashboard" },
          hidden: true,
          props: true
        }, {
          path: "InspectParam/:viewMode/:mode",
          name: "InspectParam",
          component: () => import("@/views/business/page/manager/health/diagnosis/inspct/InspectParam.vue"),
          meta: { title: "检查参数", icon: "dashboard" },
          hidden: true,
          props: true
        }, {
          path: "InspectType/:viewMode/:mode",
          name: "InspectType",
          component: () => import("@/views/business/page/manager/health/diagnosis/inspct/InspectType.vue"),
          meta: { title: "检查结果类型", icon: "dashboard" },
          hidden: true,
          props: true
        }, {
          path: "InspectStds/:viewMode/:mode",
          name: "InspectStds",
          component: () => import("@/views/business/page/manager/health/diagnosis/inspct/InspectStds.vue"),
          meta: { title: "评判标准", icon: "dashboard" },
          hidden: true,
          props: true
        }, {
          path: "PickInspectContent/:viewMode/:mode",
          name: "PickInspectContent",
          component: () => import("@/views/business/page/manager/health/diagnosis/inspct/PickInspectContent.vue"),
          meta: { title: "检查推荐内容", icon: "dashboard" },
          hidden: true,
          props: true
        }, {
          path: "InspectRecord/:viewMode/:mode",
          name: "InspectRecord",
          component: () => import("@/views/business/page/manager/health/diagnosis/inspct/InspectRecord.vue"),
          meta: { title: "检查记录", icon: "dashboard" },
          hidden: true,
          props: true
        }]
      }]
    }, // --- 健康管理 ---
    {
      path: "Health",
      name: "subHealth",
      component: SubPage,
      meta: { title: "健康管理", icon: "dashboard" },
      hidden: true,
      props: true,
      children: [{
        path: "Score",
        name: "Score",
        component: SubPage,
        meta: { title: "积分管理", icon: "dashboard" },
        hidden: true,
        props: true,
        children: [{
          path: "Score/:viewMode/:mode",
          name: "subScore",
          component: () => import("@/views/business/page/manager/health/health/score/Score.vue"),
          meta: { title: "积分设置", icon: "dashboard" },
          hidden: true,
          props: true
        }, {
          path: "UserScore/:viewMode/:mode",
          name: "UserScore",
          component: () => import("@/views/business/page/manager/health/health/score/UserScore.vue"),
          meta: { title: "用户积分", icon: "dashboard" },
          hidden: true,
          props: true
        }, {
          path: "ScoreStatement/:viewMode/:mode",
          name: "ScoreStatement",
          component: () => import("@/views/business/page/manager/health/health/score/ScoreStatement.vue"),
          meta: { title: "积分流水", icon: "dashboard" },
          hidden: true,
          props: true
        }]
      }, {
        path: "Health",
        name: "subSubHealth",
        component: SubPage,
        meta: { title: "健康记录", icon: "dashboard" },
        hidden: true,
        props: true,
        children: [{
          path: "MedBox/:viewMode/:mode",
          name: "MedBox",
          component: () => import("@/views/business/page/manager/health/health/health/MedBox.vue"),
          meta: { title: "用户药箱", icon: "dashboard" },
          hidden: true,
          props: true
        }, {
          path: "MedBatch/:viewMode/:mode",
          name: "MedBatch",
          component: () => import("@/views/business/page/manager/health/health/health/MedBatch.vue"),
          meta: { title: "用药批次", icon: "dashboard" },
          hidden: true,
          props: true
        }, {
          path: "MedRecord/:viewMode/:mode",
          name: "MedRecord",
          component: () => import("@/views/business/page/manager/health/health/health/MedRecord.vue"),
          meta: { title: "用药记录", icon: "dashboard" },
          hidden: true,
          props: true
        }, {
          path: "FoodRecord/:viewMode/:mode",
          name: "FoodRecord",
          component: () => import("@/views/business/page/manager/health/health/health/FoodRecord.vue"),
          meta: { title: "饮食记录", icon: "dashboard" },
          hidden: true,
          props: true
        }, {
          path: "SleepRecord/:viewMode/:mode",
          name: "SleepRecord",
          component: () => import("@/views/business/page/manager/health/health/health/SleepRecord.vue"),
          meta: { title: "睡眠记录", icon: "dashboard" },
          hidden: true,
          props: true
        }, {
          path: "SportRecord/:viewMode/:mode",
          name: "SportRecord",
          component: () => import("@/views/business/page/manager/health/health/health/SportRecord.vue"),
          meta: { title: "运动记录", icon: "dashboard" },
          hidden: true,
          props: true
        }, {
          path: "MassageRecord/:viewMode/:mode",
          name: "MassageRecord",
          component: () => import("@/views/business/page/manager/health/health/health/MassageRecord.vue"),
          meta: { title: "按摩记录", icon: "dashboard" },
          hidden: true,
          props: true
        }]
      }, {
        path: "Drug",
        name: "Drug",
        component: SubPage,
        meta: { title: "用药管理", icon: "dashboard" },
        hidden: true,
        props: true,
        children: [{
          path: "DrugPlan/:viewMode/:mode",
          name: "DrugPlan",
          component: () => import("@/views/business/page/manager/health/health/drug/DrugPlan.vue"),
          meta: { title: "用药计划", icon: "dashboard" },
          hidden: true,
          props: true
        }, {
          path: "DrugRecord/:viewMode/:mode",
          name: "DrugRecord",
          component: () => import("@/views/business/page/manager/health/health/drug/DrugRecord.vue"),
          meta: { title: "用药记录", icon: "dashboard" },
          hidden: true,
          props: true
        }]
      }]
    }]
}
